package com.weijianhuawen.wjblog.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2025-02-05 20:00
 */

@Getter
@AllArgsConstructor
public enum UserRoleEnum {
    ROLE_ADMIN(1, "ROLE_ADMIN", "管理员"),
    ROLE_VISITOR(0, "ROLE_VISITOR", "游客"),
    ROLE_OTHER(-1, "ROLE_OTHER", "其他"),
    ROLE_COMMON(2, "ROLE_COMMON", "会员");


    private Integer roleCode;
    private String roleType;
    private String roleName;
}
